Mollie\WooCommerce\Gateway\GatewayModule A

Total Complexity 62
Dependencies 32
Dependents 1
Total lines 547
Lines of code 419
Logical lines of code 243
Comment lines 55
Methods 13
Properties 2

Methods 13

Method Rating Maintainability Complexity Lines of code
run()
A
35 9 92
maybeDisableApplePayGateway()
A
48 12 32
instantiatePaymentMethodGateways()
A
37 6 88
maybeDisableBankTransferGateway()
A
54 10 20
services()
S
38 3 85
disableMollieOnPaymentMethodChange()
S
60 7 12
instantiatePaymentMethods()
S
45 2 46
mollieApplePayDirectHandling()
S
61 3 11
molliePayPalButtonHandling()
S
62 3 11
setOrderPaidByOtherGateway()
S
62 3 10
disableSEPAInCheckout()
S
71 2 6
gatewaySurchargeHandling()
S
81 1 3
paymentMethodEnabledAtMollie()
S
79 1 3